//
//  LWFilmCell.m
//  豆瓣
//
//  Created by 刘伟 on 16/7/8.
//  Copyright © 2016年 刘伟. All rights reserved.
//

#import "LWFilmCell.h"

@implementation LWFilmCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
  
}
-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self = [[[NSBundle mainBundle] loadNibNamed:@"LWFilmCell" owner:nil options:nil] lastObject];
    }
    return self;

}
-(void)setModel:(LWFilmModel *)model{
    _model = model;
    self.star.image = [UIImage imageNamed:@"home_star6_img"];
    self.title = model.title;
    
    

}


@end
